package com.atguigu.spzx.service;

import com.atguigu.spzx.model.dto.system.SysRoleDto;
import com.atguigu.spzx.model.entity.system.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.Map;

public interface SysRoleService {
    PageInfo<SysRole> findPage(SysRoleDto sysRoleDto, Integer pageNum, Integer pageSize);

    void saveRole(SysRole sysRole);

    void updateRole(SysRole sysRole);

    void removeById(Long id);

    Map<String, Object> findAllRoles(Long id);



}
